//
//  BubbleBean.swift
//  imprint
//
//  Created by 小柠檬🍋 on 2025/7/28.
//

import Foundation
class BubbleBean: Identifiable {
    var id: String? = nil//id
    var textColor:String = "#FFFFFF"
    var leading: CGFloat = 10
    var trailing: CGFloat = 10
    var top: CGFloat = 5
    var bottom: CGFloat = 5
    var minWith: CGFloat = 0
    var minHeight: CGFloat = 0
    var iconLeftTop: BubbleIconBean2? = nil
    var iconRightTop: BubbleIconBean2? = nil
    var iconLeftBottom: BubbleIconBean2? = nil
    var iconRightBottom: BubbleIconBean2? = nil
    var iconCenter: BubbleIconBean? = nil
}

class BubbleIconBean : Identifiable {
    var icon: ImageResource? = nil
    var icons: [ImageResource]? = nil
    var time: TimeInterval? = nil
    var leading: CGFloat = 0
    var trailing: CGFloat = 0
    var top: CGFloat = 0
    var bottom: CGFloat = 0
    var with: CGFloat = 0
    var height: CGFloat = 0
}

class BubbleIconBean2 : Identifiable {
    var icon: ImageResource? = nil
    var x: CGFloat = 0
    var y: CGFloat = 0
}
